import styled from "styled-components";
export const HomeWrap = styled.div`
  min-height: 100vh;
  background: #ffffff;
  padding-bottom:60px;
  padding-top:10px;
  .contentBox {
    width: 6.86rem;
    margin:  auto;
  }
  .gridBox {
    border-radius: 0.16rem;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
    margin-bottom: 0.4rem;
  }
  .banner {
    border-radius: 0.16rem;
    height: 2.4rem;
    width: 100%;
    overflow: hidden;
    margin-bottom: 0.4rem;
  }
`;
export const AskingAnser = styled.div`
  background: #ffffff;
  width:100%;
  .listBox {
    .listItem {
      min-height: 1rem;
      /* box-shadow: 0 0 3px rgba(0, 0, 0, 0.2); */
      border-bottom:1px solid rgba(0, 0, 0, 0.1);
      margin-bottom: 0.3rem;
      padding: 0.1rem;
      display: flex;
      &:last-child{
        margin-bottom:0
      }
      .imgBox {
        width: 1.6rem;
        height: 1.6rem;
        margin-right: 0.1rem;
        overflow: hidden;
        border-radius: 0.1rem;
      }
      .listContent {
        flex: 1;
        .title {
          font-size: 18px;
          font-weight: 700;
          color: #333;
          overflow: hidden;
          -o-text-overflow: ellipsis;
          text-overflow: ellipsis;
          display: -webkit-box;
          -webkit-line-clamp: 2;
          -webkit-box-orient: vertical;
          line-height: 25px;
          max-height: 50px;
          -webkit-box-sizing: content-box;
          -moz-box-sizing: content-box;
          box-sizing: content-box;
          white-space: normal;
        }
        .details {
          margin-top: 6px;
          font-size: 13px;
          line-height: 1.5;
          color: #999;
          overflow: hidden;
          -o-text-overflow: ellipsis;
          text-overflow: ellipsis;
          display: -webkit-box;
          -webkit-line-clamp: 2;
          -webkit-box-orient: vertical;
          line-height: 19px;
          max-height: 38px;
          -webkit-box-sizing: content-box;
          -moz-box-sizing: content-box;
          box-sizing: content-box;
          white-space: normal;
        }
        .more{
          padding :10px 0;
          font-size:14px;
          color:#999
        }
      }
    }
  }
  .moreBtn{
    text-align:center;
    color:#666;
    font-size:16px;
    padding:20px;
  }
`;
